# 封装 断言 方法
def assert_methods(resp,status_code,pass):
    assert status_code == resp.status_code
    assert True == resp.json().get("pass")

